package sporteam.web.client;

import java.io.Serializable;

@SuppressWarnings("serial")
public class MiniUser implements Serializable{
	
	// users facebook id
	private String facebook_id;

	// user first name
	private String first_name;

	// user last name
	private String last_name;

	// user age, should be grater then 8
	private int age;

	// user email, as setup in facebook
	private String email;

	// user weight, should be greater then 40
	private double weight;

	private String gender;
	
	public MiniUser() {
		this.setAge(0);
		this.setFacebook_id(null);
		this.setFirst_name(null);
		this.setLast_name(null);
		this.setEmail(null);
		this.setGender("unknown"); // default value
		this.setWeight(65); // default value
	}
	
	public MiniUser(int age, String facebook_id, String first_name, String last_name, String email, String gender, double weight){
		this.setAge(age);
		this.setFacebook_id(facebook_id);
		this.setFirst_name(first_name);
		this.setLast_name(last_name);
		this.setEmail(email);
		this.setGender(gender);
		this.setWeight(weight);
	}

	public String getFacebook_id() {
		return facebook_id;
	}

	public void setFacebook_id(String facebook_id) {
		this.facebook_id = facebook_id;
	}

	public String getFirst_name() {
		return first_name;
	}

	public void setFirst_name(String first_name) {
		this.first_name = first_name;
	}

	public String getLast_name() {
		return last_name;
	}

	public void setLast_name(String last_name) {
		this.last_name = last_name;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public double getWeight() {
		return weight;
	}

	public void setWeight(double weight) {
		this.weight = weight;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}
	

}
